//t('page.factoryManageArr.dataTypeArr.aoiQuality')
//t('page.factoryManageArr.dataTypeArr.shapingCost')
//t('page.factoryManageArr.dataTypeArr.cueEdgeCost')
//t('page.factoryManageArr.dataTypeArr.aoiCost')
//t('page.factoryManageArr.dataTypeArr.shapingDelivery')
//t('page.factoryManageArr.dataTypeArr.cueEdgeDelivery')
//t('page.factoryManageArr.dataTypeArr.aoiDelivery')
//t('page.factoryManageArr.dataTypeArr.stackerDelivery')
/*
 * @Descripttion:工厂数据类型枚举
 * @LastEditors: xzh
 * @LastEditTime: 2023-11-18 21:57:27
 */
export enum factoryDataTypeEnum {
  quality = "quality", //品质
  cost = "cost", //成本
  delivery = "delivery", //交期
}

//t('page.factoryManageArr.dataKeyArr.quality_AOI')
//t('page.factoryManageArr.dataKeyArr.cost_FORMING')
//t('page.factoryManageArr.dataKeyArr.cost_TRIM')
//t('page.factoryManageArr.dataKeyArr.cost_AOI')
//t('page.factoryManageArr.dataKeyArr.delivery_FORMING')
//t('page.factoryManageArr.dataKeyArr.delivery_TRIM')
//t('page.factoryManageArr.dataKeyArr.delivery_AOI')
//t('page.factoryManageArr.dataKeyArr.delivery_STACKING')
/**
 * @Author: xzh
 * @Descripttion: 工厂数据key枚举
 * @Param:
 */
export enum factoryDataKeyEnum {
  cost_FORMING = "cost_FORMING", //成型机稼动率
  cost_TRIM = "cost_TRIM", //切箍边机稼动率
  cost_AOI = "cost_AOI", //AOI/CCD稼动率
  delivery_FORMING = "delivery_FORMING", //成型机产出数
  delivery_TRIM = "delivery_TRIM", //切箍边机产出数
  delivery_AOI = "delivery_AOI", //AOI/CCD检验数
  delivery_STACKING = "delivery_STACKING", //堆叠机产生数
  quality_AOI = "quality_AOI", //AOI/CCD良率
}

//t('page.factoryManageArr.statisticArr.averageYield')
//t('page.factoryManageArr.statisticArr.averageUtilization')
//t('page.factoryManageArr.statisticArr.totalOutPut')
/**
 * @Author: xzh
 * @Descripttion: 工厂统计枚举
 * @Param:
 */
export let factoryStatisticMap = {
  [factoryDataTypeEnum.quality]: "averageYield", //制程总平均良率
  [factoryDataTypeEnum.cost]: "averageUtilization", //制程总平均稼动率
  [factoryDataTypeEnum.delivery]: "totalOutPut", //制程总产出数
};
